


    const loginController = require('../controller/loginController')
    const oauthCheck = require('../middleware/oauthCheck')
    const router = require('koa-router')()

    router.prefix('/users')

    router.post('/jwtcheck', oauthCheck.jwtCheck)
    router.post('/checklogin', loginController.checkLogin)
    router.post('/register', loginController.register)
    router.post('/testapi', loginController.testapi)

    module.exports = router
